package cn.ds.assets.module.assets.controller.admin.dataQualityRule.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 数据质量规则 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class BaseDataQualityRuleBaseVO {

    @Schema(description = "规则名称", example = "芋艿")
    private String ruleName;

    @Schema(description = "规则描述")
    private String ruleDescribe;

    @Schema(description = "规则内容")
    private String ruleContent;

    @Schema(description = "规则状态", example = "2")
    private Integer ruleStatus;

    @Schema(description = "项目id", example = "6680")
    private Long projectId;

    @Schema(description = "目标库")
    private String targetDb;

    @Schema(description = "目标表")
    private String targetTable;

    @Schema(description = "目标字段")
    private String targetColumn;

    @Schema(description = "校验规则")
    private String checkRule;

    @Schema(description = "规则类型", example = "1")
    private String ruleType;

    @Schema(description = "质量维度")
    private String qualityDimension;

    @Schema(description = "规则类别:0通用,1自定义")
    private Byte ruleGenre;

}
